package com.twu.biblioteca.command;

import com.twu.biblioteca.model.User;

public class PrintUserInfoCommand implements Command {
    private User currentUser;

    public PrintUserInfoCommand(User currentUser) {
        this.currentUser = currentUser;
    }

    @Override
    public void execute() {
        currentUser.printUserInfo();
    }
}
